package design.Decorator;

/**
 * Created by looper on 2017/8/16.
 */
public class Decorator implements Painting {
  private Painting painting;
  public Decorator(Painting monaLisa){
    this.painting = monaLisa;
  }
  @Override
  public void show() {
    System.out.println("先加上相框");
    painting.show();
    System.out.println("再扣上玻璃");
  }
}
